import Vue, { createApp } from "vue";

import App from "./App.vue";
import router from "./router";
import store from "./store";
//注意引入全局组件时在vue下面，防止出现加载不出来问题 vant支持懒加载，这里可以使用vant的懒加载
import Vant from 'vant';
// 引入vant 提供过的懒加载
import { Lazyload } from 'vant';
import 'vant/lib/index.css';
import * as echarts from 'echarts'
const app=createApp(App).use(store).use(router).use(Vant).use(Lazyload).mount("#app");
app.echarts = echarts;
/*var history = require('connect-history-api-fallback');
var express = require('express');
var apps = express();
apps.use(history());*/


